package com.smh.demo1.a10.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * @author shiminghui
 * @date 2025/4/12 15:42
 * @description: TODO
 */
@Aspect // 表示这是一个切面
public class MyAspect {

    @Before("execution(* com.smh.demo1.a10.service.MyService.*(..))")
    public void myAspect() {
        System.out.println("代理类执行");
    }

}
